package com.sinosoft.ebusiness.service.repo;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import com.sinosoft.ebusiness.domain.elementManage.GeTemplate;





//@Repository("geTemplateRepository")
public interface GeTemplateRepository extends JpaSpecificationExecutor<GeTemplate>,PagingAndSortingRepository<GeTemplate, String>  {
	GeTemplate findByTemplatecode(String templatecode);
//	Page<GeTemplate> findPage(Pageable pageable);
	Page findAll(Specification<GeTemplate> sp, Pageable pageable);
}
